package com.hue.service;

import com.hue.entity.EduCourse;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hue.entity.vo.CourseInfo;
import com.hue.entity.vo.CoursePublishVo;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author 姚凤桥
 * @since 2021-06-13
 */
public interface EduCourseService extends IService<EduCourse> {
    public String add(CourseInfo courseInfo);

    public CourseInfo findById(String id);

    public void update(CourseInfo courseInfo);

    public CoursePublishVo findCoursePublishVoByCourseId(String courseId);

    public boolean publish(String id);

    public boolean deleteById(String id);
}
